#!/bin/sh
pid=$(jps | grep park-tool | awk '{print $1}')
echo "pid=[$pid]"
if [ -n "$pid" ]
then
  echo "kill process $pid"
  kill $pid
else
  echo "no active process, skip"
fi
